<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>main</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "main";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/main.html" class="symbol">main</a></h1>
  
<p class="sec_header">Author:</p>Aziz Köksal
<p class="sec_header">License:</p>GPL3
 <p><b>Maturity:</b> average.</p>
<dl>
<dt class="decl">void <a class="symbol _function" name="main" href="./htmlsrc/main.html#L44" kind="function" beg="44" end="304">main</a><span class="params">(char[][] <em>args</em>)</span>; <a title="Permalink to this symbol" href="#main" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/main.html#L44">#</a></dt>
<dd class="ddef">
<div class="summary">Entry function of dil.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="readStdin" href="./htmlsrc/main.html#L307" kind="function" beg="307" end="318">readStdin</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#readStdin" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/main.html#L307">#</a></dt>
<dd class="ddef">
<div class="summary">Reads the standard input and returns its contents.</div></dd>
<dt class="decl">char[] <a class="symbol _variable" name="COMMANDS" href="./htmlsrc/main.html#L321" kind="variable" beg="321" end="329">COMMANDS</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#COMMANDS" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/main.html#L321">#</a></dt>
<dd class="ddef">
<div class="summary">Available commands.</div></dd>
<dt class="decl">bool <a class="symbol _function" name="strbeg" href="./htmlsrc/main.html#L331" kind="function" beg="331" end="339">strbeg</a><span class="params">(char[] <em>str</em>, char[] <em>begin</em>)</span>; <a title="Permalink to this symbol" href="#strbeg" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/main.html#L331">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">CompilationContext <a class="symbol _function" name="newCompilationContext" href="./htmlsrc/main.html#L342" kind="function" beg="342" end="354">newCompilationContext</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#newCompilationContext" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/main.html#L342">#</a></dt>
<dd class="ddef">
<div class="summary">Creates the global compilation context.</div></dd>
<dt class="decl">bool <a class="symbol _function" name="parseDebugOrVersion" href="./htmlsrc/main.html#L357" kind="function" beg="357" end="383">parseDebugOrVersion</a><span class="params">(string <em>arg</em>, CompilationContext <em>context</em>)</span>; <a title="Permalink to this symbol" href="#parseDebugOrVersion" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/main.html#L357">#</a></dt>
<dd class="ddef">
<div class="summary">Parses a debug or version command line option.</div></dd>
<dt class="decl">void <a class="symbol _function" name="printErrors" href="./htmlsrc/main.html#L386" kind="function" beg="386" end="406">printErrors</a><span class="params">(Diagnostics <em>diag</em>)</span>; <a title="Permalink to this symbol" href="#printErrors" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/main.html#L386">#</a></dt>
<dd class="ddef">
<div class="summary">Prints the errors collected in diag.</div></dd>
<dt class="decl">void <a class="symbol _function" name="printHelp" href="./htmlsrc/main.html#L410" kind="function" beg="410" end="562">printHelp</a><span class="params">(char[] <em>command</em>)</span>; <a title="Permalink to this symbol" href="#printHelp" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/main.html#L410">#</a></dt>
<dd class="ddef">
<div class="summary">Prints the help message of a command.
 If the command wasn't found, the main help message is printed.</div></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 2007-2008, Aziz Köksal. All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:12:53 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>